package com.usian.day02.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * @author baimugudu
 * @email 2415621370@qq.com
 * @date 2023/7/25 14:28
 */
@RestController
@RequestMapping("api")
public class TestController {

    @RequestMapping("/test1")
    public List test1(){
        List list = new ArrayList<String>();
        list.add("1");
        list.add("2");
        list.add("3");
        list.add("4");
        return list;

    }
}
